package com.apache.security;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface SecurityFilter {

	public static final int SUCCESS = 1;
	public static final int FAILURE = 0;

	public int doFilterInvoke(HttpServletRequest request, HttpServletResponse response) throws IOException,
			ServletException;

	public void setErrorPage(String errorPage);
}
